import request from '../util/request.js';

export function O_landlogin(username, password) {
    return request({
        method: 'POST',
        url: '/0_landlogin?username=' + username + '&password=' + password,
    });
}

export function O_registerlogin(username, password, ID_card, phone) {
    return request({
        method: 'POST',
        url: `/O_registerlogin?username=${username}&password=${password}&phone=${phone}`
    });
}

export function D_landlogin(username, password) {
    return request({
        method: 'POST',
        url: '/D_landlogin?username=' + username + '&password=' + password,
    });
}